<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'signBu.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<sx:head />
<script type="text/javascript">
	function openul() {
		//设置签退按钮不可用
		document.getElementById("busign").disabled = true;
	}
</script>
<style type="text/css">
body {
	background-color: #E3F5FA;
	height: 1000px;
}
</style>
</head>

<body>
	<p>>>当前位置：补签退</p>
	<br />
	<div style="border: 1px #add9c0 solid">
		<center>
			<form action="dosignin">
				<table style="text-align: left;">
					<tr>
						<td>补签退日期：</td>
						<td><s:textfield value="%{#session.last}" name="date"></s:textfield></td>
					</tr>
					<tr>
						<td>选择补签退时间：</td>
						<td><s:select name="time"
								list="{'09:30','10:30','11:30','12:30','13:30','14:30','15:30','16:30','17:30'}"></s:select>
						</td>
					</tr>
					<tr>
						<td>签卡类型：</td>
						<td><s:textfield name="signtag" value="补签退"></s:textfield></td>
					</tr>
					<tr>
						<td>请输入补签退原因：</td>
						<td><s:textarea rows="8" cols="40" name="signdesc"></s:textarea></td>
					</tr>
				</table>
				<sx:submit value="补签退" id="busign" name="method:signoff"
					targets="signdescym" onclick="openul()"></sx:submit>
			</form>
		</center>
	</div>
	<br />
	
	<center>
		<sx:div id="signdescym"></sx:div>
	</center>
</body>
</html>
